Fix w32 bug with call-process-region.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 16 Jul 2013 22:40:17 +0000 (15:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 16 Jul 2013 22:40:17 +0000 (15:40 -0700)
commit382be895ae466e1c08a1522cf6bbc450b5bf36f9
treea2b3d6751aa1cb84c2a50d238bdf5666a644f930
parent2a1928e69456b006c83578970084957fc503966a
Fix w32 bug with call-process-region.

* callproc.c (Fcall_process_region): Pass nil, not "/dev/null",
to Fcall_process when the input is empty.  This simplifies the
code a bit.  It makes no difference on POSIXish platforms but
apparently it fixes a bug on w32.
src/ChangeLog
src/callproc.c